import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 导入pinia
import { createPinia } from 'pinia'
// 创建pinia实例
const pinia = createPinia()

const app = createApp(App)

app.use(router)     // 添加路由
app.use(ElementPlus) // 添加ElementPlus
app.use(pinia)      // 添加pinia
app.mount('#app')
